package com.imooc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.imooc.bo.*;
import com.imooc.pojo.*;
import com.imooc.utils.PagedGridResult;
import com.imooc.vo.ResumeVO;

import java.util.List;

/**
 * @author liansen
 * @create 02-24-15:02
 */
public interface ResumeService extends IService<Resume> {

    /**
     * 初始化简历
     */
    void initResume(String userId);

    /**
     * 初始化简历, 删除本地消息记录
     */
    void initResume(String userId, String msgId);

    /**
     * 更新个人优势
     * @param editResumeBO
     */
    void editResume(EditResumeBO editResumeBO);

    ResumeVO getResume(String userId);

    void editResumeWork(EditWorkExpBO editWorkExpBO);

    ResumeWorkExp getWorkExp(String workExpId, String userId);

    void deleteWorkExp(String workExpId, String userId);

    void editProjectExp(EditProjectExpBO editProjectExpBO);

    ResumeProjectExp getProjectExp(String projectExpId, String userId);

    void deleteProjectExp(String projectExpId, String userId);

    void editEducation(EditEducationBO editEducationBO);

    ResumeEducation getEducation(String eduId, String userId);

    void deleteEducation(String eduId, String userId);

    void editJobExpect(EditResumeExpectBO editResumeExpectBO);

    List<ResumeExpect> getMyResumeExpectList(String resumeId, String userId);

    void deleteMyResumeExpect(String resumeExpectId, String userId);


    PagedGridResult searchResumes(SearchResumesBO searchResumesBO, Integer page, Integer limit);
}
